<template>
    <div>
       <!-- tab栏 -->
      	 <div class="head">
	        <image :src="src1" class="headd" resize="cover" @click="back()"></image>
	        <text class="head1">个人信息</text>
      	 </div>
	     <div class="id_info">
	     	<text class='info_name'>昵称</text>
	     	<input type="text" placeholder="请输入昵称" class="id_inp" />
	     </div>
	     <div class="list">
	     	<image :src="src2" class="list_img" resize="cover"></image>
	     	<text class="list_text" @click="changephone()">变更手机号</text>
	     	<image :src="src4" class="list1_img" resize="cover"></image>
	     </div>
	     <div class="list">
	     	<image :src="src3" class="list_img" resize="cover"></image>
	     	<text class="list_text" @click="changepass()">修改密码</text>
	     	<image :src="src4" class="list1_img" resize="cover"></image>
	     </div>
    </div>
</template>
<style scoped>
  .head{
      width: 100%;
      height: 48px;
      padding-top: 12px;
      box-sizing: border-box;
      line-height: 32px;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      box-shadow: 1px 1px 1px #ccc;
      background-color: #fff;
    }
    .headd{
      width: 15px;
      height: 20px;
      position: absolute;
      left: 12px;
    }
    .head1{
      font-size: 20px;
      font-weight: bold;
      color: #33c179;
    }
    .id_info{
    	width: 100%;
    	height: 14px;
    	flex-direction: row;
    	margin-top: 71px;
    	margin-bottom: 20px;
    }
    .id_inp{
    	height: 14px;
    	outline: none;
    	line-height: 14px;
    	font-size: 14px;
    	margin-left: 83px;
    }
    .info_name{
    	height: 14px;
    	line-height: 14px;
    	font-size: 14px;
    	color: #333;
    	margin-left: 23px;
    }
    .list{
    	width: 100%;
    	height: 50px;
    	flex-direction: row;
    	align-items: center;
    	/*margin-top: 20px;*/
    	border-top: solid 1px #dedcdc;
    	border-bottom: solid 1px #dedcdc;
    	position: relative;
    }
    .list_img{
    	width: 15px;
    	height: 20px;
    	margin-left: 23px;
    }
    .list1_img{
    	width: 17px;
    	height: 17px;
    	position: absolute;
    	top: 19px;
    	right: 25px;
    }
    .list_text{
    	height: 17px;
    	font-size: 14px;
    	color: #666;
    	margin-left: 17px;
    	/*line-height: 50px;*/
    }
</style>
<script>
  export default {
    data () {
        return {
            src1: 'http://192.168.2.123:8080/img/index_back.png',//返回
           	src2: 'http://192.168.2.123:8080/img/accountmanagement_phone.png', //变更手机号图标
           	src3: 'http://192.168.2.123:8080/img/accountmanagement_password.png', //修改密码图标
           	src4: 'http://192.168.2.123:8080/img/ABOUT_return.png',//前进按钮
        }
    },
    components: {
       
    },
    created () {
        
    },
    methods: {
      // 点击返回
      back(){
        this.$router.back(-1);
      },
      // 点击变更手机号图标
      changephone(){
      	this.$router.push('/mine_change_phoneNumber');
      },
      // 点击变更密码
      changepass(){
      	this.$router.push('/mine_change_password');
      }
    }
}
</script>